package com.wang.article.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wang.article.api.model.dto.ArticleHomeDto;
import com.wang.article.api.model.pojo.ApArticle;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: wangning
 * @date: 2023/12/28 16:06
 */
@Mapper
public interface ArticleMapper extends BaseMapper<ApArticle> {

    public List<ApArticle> loadArticleList(@Param("dto") ArticleHomeDto dto, @Param("type") Short type);

}
